package com.bwie.auth.fegin;

import com.bwie.common.domain.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("bwie-user")
public interface AuthFeginService {
    @PostMapping("/findByPhone")
    User findByPhone(@RequestParam String phone);
}
